

// 自定义navbar
.van-nav-bar {
    background: linear-gradient(to right, #4146E4, #8377FB);

    .van-nav-bar__title {
        font-size: 34rpx;
        color: #FFFFFF;
    }
}

.backicon {
    width: 45rpx;
    height: 45rpx;
}



.ordermain {
    background: #eeeeee;

    .title {
        height: 80rpx;
        width: 90%;
        margin: 0 auto;
        border-bottom: 1px solid #eeeeee;
        display: flex;
        align-items: center;
        font-size: 30rpx;
        color: #333333;

    }

    //收货人地址

    .address {
        width: 100%;
        height: 268rpx;
        background: #ffffff;

        .haveaddress {
            font-size: 24rpx;
            width: 90%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;

            .addressinfo {
                width: 540rpx;

                margin-top: 28rpx;

                .namebox {
                    color: #333333;

                    .phone {
                        margin-left: 20rpx;
                    }
                }

                .addressbox {
                    margin-top: 20rpx;
                    display: flex;

                    .shouhuo {
                        color: #999999;
                    }

                    .addword {
                        display: block;
                        width: 380rpx;
                        margin-left: 20rpx;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 3;
                        overflow: hidden;
                        text-overflow: ellipsis;

                    }
                }

            }

            .changeaddress {
                margin-top: 20rpx;
                width: 116rpx;
                height: 40rpx;
                font-size: 22rpx;
                color: #999999;
                border: 1px solid #999999;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 6rpx;
            }

        }
    }

    .noaddress {
        width: 100%;
        height: 268rpx;
        background: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #333333;
    }

    .back {
        width: 100%;
        height: 14rpx;
        background: url('https://qmtestimage.oss-cn-guangzhou.aliyuncs.com/caitiao-di.png');
        background-repeat: no-repeat;
        background-size: cover;
    }

    //订单明细
    .orderdetail {
        background: #ffffff;
        margin-top: 23rpx;
        height: 272rpx;

        .listbox {
            height: 160rpx;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;

            .info {
                font-size: 24rpx;
                margin-left: 40rpx;

                .infotitle {
                    color: #999999;
                }

                .word {
                    color: #333333;
                    margin-left: 30rpx;
                }

            }
        }



    }

    //订单信息
    .orderinfo {
        background: #ffffff;
        margin-top: 23rpx;

        .goodsdetail {
            height: 170rpx;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #eeeeee;
            width: 90%;
            margin: 0 auto;

            .leftbox {
                display: flex;
                align-items: center;

                .goodsimg {
                    width: 120rpx;
                    height: 120rpx;

                    image {
                        width: 120rpx;
                        height: 120rpx;
                    }
                }

                .titlebox {

                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    height: 70%;
                    margin: 0 auto;
                    margin-left: 23rpx;
                    font-size: 24rpx;
                    color: #333333;

                    :nth-child(1) {
                        width: 400rpx;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                    :nth-child(2) {
                        color: #999999;
                    }
                }
            }

            .pointword {
                font-size: 24rpx;
                color: #4A3CBC;
                margin-top: 20rpx;
            }

        }

        .goodspoint {
            width: 96%;
            margin-top: 27rpx;
            text-align: right;

            :nth-child(1) {
                font-size: 22rpx;
                color: #999999;
            }

            :nth-child(2) {
                font-size: 26rpx;
                color: #4A3CBC;
                margin-top: 20rpx;
            }
        }

        .btnbox {
            display: flex;
            margin-top: 110rpx;
            margin-left: 353rpx;

            .cancelbtn {
                font-size: 28rpx;
                width: 174rpx;
                height: 55rpx;
                border: 2px solid #D1D1D1;
                border-radius: 28rpx;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .surebtn {
                margin-left: 20rpx;

                image {
                    width: 180rpx;
                    height: 66rpx;
                }
            }
        }
    }
}